HighContrast: Update image styling
authorMatthias Clasen <mclasen@redhat.com>
Fri, 23 Oct 2015 04:05:46 +0000 (00:05 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 23 Oct 2015 04:05:46 +0000 (00:05 -0400)
Use the new element name instead of the type name.

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css

index 0991ae6644b3db407cf939919afdbbde89d66e98..eb763e8ef50d910aa777a59cee2f5ced5954ee55 100644 (file)
@@ -958,7 +958,7 @@ GtkComboBox {
   & label:last-child { padding-left: 2px; }
   & label:first-child { padding-right: 2px; }
   & label:only-child { padding-right: 0; padding-left: 0; }
-  GtkImage { padding-top: 1px; }
+  image { padding-top: 1px; }
 }
 
 
@@ -1454,7 +1454,7 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
         border-color: transparent;
         border-width: 2px;
       }
-      & > GtkImage { // this is a hack which makes tabs grow
+      & > image { // this is a hack which makes tabs grow
         padding: 2px;
       }
     }
@@ -2229,8 +2229,8 @@ GtkPlacesSidebar.sidebar {
     @extend .button.flat;
     border-radius: 100%;
     outline-radius: 100%;
-    &:not(:hover):not(:active) > GtkImage,
-    &:backdrop > GtkImage { opacity: $_placesidebar_icons_opacity };
+    &:not(:hover):not(:active) > image,
+    &:backdrop > image { opacity: $_placesidebar_icons_opacity };
   }
   // this is for indicating which sidebar row generated a popover
   // see https://bugzilla.gnome.org/show_bug.cgi?id=754411
index bf2b6e6ac155400f6f35fc6ee788651e93a7d16f..eb5b31de5a20300790a8dee60e5f9619edaa47fc 100644 (file)
@@ -1184,7 +1184,7 @@ GtkComboBox {
   .path-bar .button label:only-child {
     padding-right: 0;
     padding-left: 0; }
-  .path-bar .button GtkImage {
+  .path-bar .button image {
     padding-top: 1px; }
 
 /**************
@@ -1645,7 +1645,7 @@ GtkTreeView.view.progressbar {
         color: rgba(0, 0, 0, 0.3);
         border-color: transparent;
         border-width: 2px; }
-      .notebook tab .button > GtkImage {
+      .notebook tab .button > image {
         padding: 2px; }
 
 /**************
@@ -2417,7 +2417,7 @@ GtkSidebarRow .sidebar-label:dir(rtl) {
   outline-radius: 100%; }
   .sidebar-button.button.image-button {
     padding: 5px; }
-  .sidebar-button.button:not(:hover):not(:active) > GtkImage, .sidebar-button.button:backdrop > GtkImage {
+  .sidebar-button.button:not(:hover):not(:active) > image, .sidebar-button.button:backdrop > image {
     opacity: 0.9; }
 GtkPlacesSidebar.sidebar .view {
   color: #000;